package com.ruoyi.map.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 *  附件渔获
 * 
 * @author ruoyi
 * @date 2024-11-12
 */
public class NearbyCatchDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 发布信息id */
    private Long postId;

    /** 捕获人id */
    @Excel(name = "捕获人id")
    private Long userId;

    /** 鱼类名称 */
    @Excel(name = "鱼类名称")
    private String fishType;

    /** 鱼类图片 */
    @Excel(name = "捕获图片")
    private String fishImage;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    @Override
    public String toString() {
        return "NearbyCatchDto{" +
                "postId=" + postId +
                ", userId=" + userId +
                ", fishType='" + fishType + '\'' +
                ", fishImage='" + fishImage + '\'' +
                ", status='" + status + '\'' +
                ", crateTime=" + crateTime +
                '}';
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getFishType() {
        return fishType;
    }

    public void setFishType(String fishType) {
        this.fishType = fishType;
    }

    public String getFishImage() {
        return fishImage;
    }

    public void setFishImage(String fishImage) {
        this.fishImage = fishImage;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCrateTime() {
        return crateTime;
    }

    public void setCrateTime(Date crateTime) {
        this.crateTime = crateTime;
    }

    public NearbyCatchDto() {
    }

    public NearbyCatchDto(Long postId, Long userId, String fishType, String fishImage, String status, Date crateTime) {
        this.postId = postId;
        this.userId = userId;
        this.fishType = fishType;
        this.fishImage = fishImage;
        this.status = status;
        this.crateTime = crateTime;
    }
}
